/*设置头部导航栏*/

* {
    margin: 0px;
    padding: 0px;
   

}

ul,
ol {
    list-style: none;
}

ul,
li {
    border-collapse: collapse;
}

.headr {
    position: fixed;
    top: 0px;
    width: 100%;
   z-index: 100;
    height: 80px;
    background-color: #faf8fa;
    border-bottom: 1px solid #d8d8d8;
}
a{
    text-decoration:none;
}
.headr-left {
    float: left;
    position: relative;
}

.headr-right {
    float: right;
    position: relative;
    right: 50px;
}

.headr-left>li {
    float: left;
    line-height: 80px;
    height: 79px;
    width: 70px;
    text-align: center;
    position: relative;
}

.headr-left a:hover {
    color: red;
}

.headr-left a {
    text-decoration: none;
    font-size: 18px;
    color: black;
}

.app{
    margin: 0px;
}

.app>div.triangle {

    width: 0;
    height: 0;
    display: inline-;
    border-top: 5px solid #666;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: ease 0.2s;
    position: absolute;
    left: 110px;
    top: 37px;
}

.login>div.triangle {
    width: 0;
    height: 0;
    display: inline;
    border-top: 5px solid #666;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: 0.2s ease;
    transition: ease 0.2s;
    position: absolute;
    left: 60px;
    top: 40px;
}

.login>.login-1 {
    position: absolute;
    bottom: 10px;
    right: 10px;

    display: none;
}

.headr>div {
    width: 1230px;
    min-width: 1220px;
    height: 80px;
    background-color: #faf8fa;
    margin: 0 auto;
}

.headr-left>.region {
    margin-left: 18px;
    padding-right: 30px;
    height: 79px;
    border:1px  #faf8fa solid;
    border-top: 0px;
    cursor: pointer;
}

.region>a {
    font-size: 17px;
}

ul>li.app {
    width: 120px;
    text-align: center;
    cursor: pointer;
    position: relative;
    margin-left: 10px;
    border-top: 0px;
    border: 1px #faf8fa solid;
    border-top: 0px;
    transition: all 0.2s ease;
}

ul>li.app:hover {
    height: 250px;
    border: 1px rgba(2, 2, 2, 0.3) solid;
    border-top: 0px;
    background-color: #faf8fa;
}

ul>li.app:hover>.code {
    display: block;
}

ul>.app:hover>div.triangle {
    transform: rotate(180deg);

}

ul>li.app>img {
    position: relative;
    top: 6px;
}


.logo {
    width: 133px;
    height: 40px;
    background-image: url(../imager/小图标/猫眼电影.png);
    float: left;
    cursor: pointer;
    position: relative;
    top: 20px;
}

.headr-right>li:nth-child(1) {
    float: left;

    position: relative;
    padding-top: 25px;
}

.headr-right>li:nth-child(2) {
    float: left;
    height: 54px;
    padding-top: 24px;
    margin-left: 10px;
    padding-left: 10px;
    cursor: pointer;
    border: 1px #faf8fa solid;
    border-top: 0px;
    transition: all 0.2s ease;
}

li>input:nth-child(1) {
    border-radius: 50px;
    height: 35px;
    width: 170px;
    padding: 0 20px;
    color: #333;
    border: 1px solid rgb(184, 183, 183);
    background-color: #faf8fa;
}

li>input:nth-child(2) {
    border-radius: 50px;
    height: 37px;
    width: 37px;
    color: #333;
    border: transparent;
    background-image: url("../imager/小图标/搜索小图标.png");
    background-position: 38px 39px;
    background-color: #ef4238;
    position: absolute;
    right: 0px;


}


li input:focus {
    outline: none;
}

li.login {
    float: left;
    width: 70px;
    border: 1px red solid;
    position: relative;
}

li.login:hover {
    height: 110px;
    background-color: #faf8fa;
    border: 1px rgba(2, 2, 2, 0.3) solid;
    border-top: 0px;
}

li.login:hover>.login-1 {
    display: block;

}

li.login:hover>.triangle {
    transform: rotate(180deg);
}

.code {
    display: none;
    margin-top: 15px;
    line-height: 30px;
    transition: 0.2s ease;
}

.code>span {
    color: rgba(0, 0, 0, 0.4);
}

ul.headr-right {
    margin: 0;
    padding: 0px;
}



.region>.triangle {
    width: 0;
    height: 0;
    display: inline;
    border-top: 5px solid #666;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: 0.2s ease;
    transition: ease 0.2s;
    position: absolute;
    left: 50px;
    top: 40px;
}
#color{
    background-color:red;
border:1px red solid;
}
#color>a{
    color:white;
}
